﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Wekit.Repository.Article
{
    public  interface IArticleRepository
    {
        /// <summary>
        /// 持久化一个新的文章类对象
        /// </summary>
        /// <param name="article"></param>
        /// <returns></returns>
        Wekit.Model.Info.Article addArticle(Wekit.Model.Info.Article article);
      
        /// <summary>
        /// 删除一个文章实体
        /// </summary>
        /// <param name="article"></param>
        /// <returns></returns>
        bool deleteArticle(Wekit.Model.Info.Article article);
    }
}
